<?php

/**
 * @author Its a me, Mario
 *
 *
 * To be implementet.
 * Not yet done but you get the idea.
 *
 */
interface WideUserInterface
{
    public function __construct( $userName = null,  $password = null, $userId = null, $validated = false);

    public function getUserInfo( $id = null);

    public function setUserInfo( $id = null, $name = null ,  $groupID = null,  $password = null );

    public function createUser( $name , $groupID , $password );

    public function deleteUser( $id);

    public function setUserPassword( $password,  $id = null);

    public function setUserName( $name,  $id = null);

    public function setUserGroup( $groupID,  $id = null);

    public function getUserList( $groupID = null);

    public function getGroupList();

    public function setGroupPerms( $groupID, array $perms);
    
    public function createGroup( $name, array $perms);

    public function deleteGroup( $id);

    public function __destruct();
    
}
?>